import java.awt.Color;
import java.awt.Dimension;
import java.util.List;

import javax.swing.BorderFactory;
import javax.swing.JPanel;
import javax.swing.border.TitledBorder;


@SuppressWarnings("serial")
public class InputPanelContainer extends JPanel {
	
	List<InputPanel> panels;
	
	public InputPanelContainer(Dimension size){
		this.setPreferredSize(size);
		this.setBorder(BorderFactory.createTitledBorder(BorderFactory.createLineBorder(new Color(0,0,0)), "Actions", TitledBorder.CENTER, TitledBorder.TOP));
	}
	
	public void addPanel(InputPanel panel){
//		panel.setPreferredSize()
		panel.setBorder(BorderFactory.createLoweredBevelBorder());
		this.add(panel);
	}
	
	public void clearPanels(){
		this.removeAll();
	}

}
